const evaluationConfirmationData = ref([
{ role: '评价组/系主任', fullApproval: '✔', partialApproval: '', noApproval: '', fullDisapproval: '', partialDisapproval: ''
},
{ role: '教学副院长', fullApproval: '', partialApproval: '✔', noApproval: '', fullDisapproval: '', partialDisapproval: '' }
]);

const summaryImprovementData = ref([
{ item: '对上一轮教学的改进', description: '从上一轮学生的答题情况看，树和图知识的算法应用分析与设计能力较弱，应用分析题和算法设计题答题情况差，总体成绩偏低，故本轮教学重点加强树和图知识的讲授。' },
{ item: '本轮达成度结果分析评价', description:
'期末考试答题情况较差，第一题答题情况表明学生基础理论知识有待提高，第二题应用题和第三题算法设计题答题情况较差，说明学生应用能力及算法设计能力有待加强。树和图知识考核部分比上一轮学生的答题情况好，总体成绩有所提高。' },
{ item: '持续改进方案（包括教学内容、教学方法及考核方式等）', description:
'教学上要进一步突出教学的重点和难点，特别是树和图知识的算法；教学上加强知识的应用与扩展的讲授，理论联系实际应用，加强学生的综合分析问题能力、知识应用能力和算法设计能力的培养。' },
{ item: '课程评价人', description: '钟秀玉' },
{ item: '评价时间', description: '2023.7' }
]);


const courseAchievementData = ref([
{ courseObjective: '1', supportLinks: '1、2、3', completion: 0.73 },
{ courseObjective: '2', supportLinks: '1、2、3', completion: 0.71 },
{ courseObjective: '3', supportLinks: '1、2、3', completion: 0.72 }
]);

const examPerformanceData = ref([
{ courseObjective: '1', question: '第一题', totalValue: 30, averageScore: 19.93, completion: 0.664 },
{ courseObjective: '2', question: '第二题', totalValue: 40, averageScore: 24.87, completion: 0.622 },
{ courseObjective: '3', question: '第三题', totalValue: 30, averageScore: 19, completion: 0.633 }
]);

const classPerformanceData = ref([
{ courseObjective: '1', supportLink: '课堂表现', totalValue: 30, averageScore: 28.57, completion: 0.952 },
{ courseObjective: '2', supportLink: '课堂表现', totalValue: 40, averageScore: 38.09, completion: 0.952 },
{ courseObjective: '3', supportLink: '课堂表现', totalValue: 30, averageScore: 28.57, completion: 0.952 }
]);
const homeworkPerformanceData = ref([
{ courseObjective: '1', supportLink: '作业1、2', totalValue: 30, averageScore: 23.96, completion: 0.799 },
{ courseObjective: '2', supportLink: '作业3', totalValue: 40, averageScore: 32.55, completion: 0.814 },
{ courseObjective: '3', supportLink: '作业4', totalValue: 30, averageScore: 24.71, completion: 0.824 }
]);

const courseBasicInfo = ref([
{ item: '课程编号', content: '（填写课程编号）' },
{ item: '课程名称', content: '数据结构' },
{ item: '学时/学分', content: '85/4' },
{ item: '课程性质', content: '必修' },
{ item: '开课学期', content: '一年级下' },
{ item: '授课对象', content: '计算机2202' },
{ item: '授课人数', content: '64' },
{ item: '任课教师（职称）', content: '钟秀玉（教授）' },
]);
const quantitativeAnalysisData = ref([
{ courseObjective: '课程目标1', supportLink: '课堂表现', weight: 0.1 },
{ courseObjective: '', supportLink: '作业1、作业2', weight: 0.3 },
{ courseObjective: '', supportLink: '试题集合X₁', weight: 0.6 },
{ courseObjective: '课程目标2', supportLink: '课堂表现', weight: 0.1 },
{ courseObjective: '', supportLink: '作业3', weight: 0.3 },
{ courseObjective: '', supportLink: '试题集合X₂', weight: 0.6 },
{ courseObjective: '课程目标3', supportLink: '课堂表现', weight: 0.1 },
{ courseObjective: '', supportLink: '作业4', weight: 0.3 },
{ courseObjective: '', supportLink: '试题集合X₃', weight: 0.6 },
]);
const spanMethod = ({ row, column, rowIndex, columnIndex }) => {
if (columnIndex === 0) {
if (row.courseObjective.startsWith('课程目标')) {
return {
rowspan: 3,
colspan: 1
};
} else {
return {
rowspan: 0,
colspan: 0
};
}
}
};